package com.foruo.demo.spring;

/**
 * 人
 * @author GaoYuan
 */
public class Person {

    private Tool tool;

    public Person(Tool tool){
        this.tool = tool;
    }

    /**
     * 执行
     * @author GaoYuan
     */
    public void execute(){
        tool.doSomeThing();
    }

}
